#include "coordin.h"
#include <iostream>

void show_polar(polar dapos){
    using namespace std;
    const double Rad_to_deg = 57.29;

    cout << "distance = " << dapos.distance;
    cout << ", angle = " << dapos.angle * Rad_to_deg;
    cout << " degree\n";
}